package com.hyt.it.ogt.ykcj.domain.grade;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.hyt.it.ogt.ykcj.common.annotation.Excel;
import com.hyt.it.ogt.ykcj.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 公务员考生信息对象 servant_examinee_info
 *
 * @author admin
 * @date 2021-09-09
 */
public class ServantExamineeInfo extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    private String id;

    /**
     * 考试ID
     */
    @Excel(name = "考试ID")
    private String examId;

    /**
     * 考生名字
     */
    @Excel(name = "考生名字")
    private String name;

    /**
     * 准考证号
     */
    @Excel(name = "准考证号")
    private String admissionNo;

    /**
     * 身份证号
     */
    @Excel(name = "身份证号")
    private String idcard;

    /**
     * 性别
     */
    @Excel(name = "性别")
    private String sex;

    /**
     * 职位代码
     */
    @Excel(name = "职位代码")
    private String bkzwdm;

    /**
     * 单位代码（部门代码）
     */
    @Excel(name = "单位代码（部门代码）")
    private String bkdwdm;

    /**
     * 是否已归档,默认否。Y-已归档，N-未归档
     */
    @Excel(name = "是否已归档,默认否。Y-已归档，N-未归档")
    private String archivedStatus;

    /**
     * 归档时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "归档时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date archivedDate;

    /**
     * 是否成绩合格，默认否。Y-已合格，N-未合格
     */
    @Excel(name = "是否成绩合格，默认否。Y-已合格，N-未合格")
    private String qualifiedStatus;

    /**
     * 是否进入面试，默认否。Y-已进入，N-未进入
     */
    @Excel(name = "是否进入面试，默认否。Y-已进入，N-未进入")
    private String interviewStatus;

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setExamId(String examId) {
        this.examId = examId;
    }

    public String getExamId() {
        return examId;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setAdmissionNo(String admissionNo) {
        this.admissionNo = admissionNo;
    }

    public String getAdmissionNo() {
        return admissionNo;
    }

    public void setIdcard(String idcard) {
        this.idcard = idcard;
    }

    public String getIdcard() {
        return idcard;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getSex() {
        return sex;
    }

    public void setBkzwdm(String bkzwdm) {
        this.bkzwdm = bkzwdm;
    }

    public String getBkzwdm() {
        return bkzwdm;
    }

    public String getBkdwdm() {
        return bkdwdm;
    }

    public void setBkdwdm(String bkdwdm) {
        this.bkdwdm = bkdwdm;
    }

    public void setArchivedStatus(String archivedStatus) {
        this.archivedStatus = archivedStatus;
    }

    public String getArchivedStatus() {
        return archivedStatus;
    }

    public void setArchivedDate(Date archivedDate) {
        this.archivedDate = archivedDate;
    }

    public Date getArchivedDate() {
        return archivedDate;
    }

    public String getQualifiedStatus() {
        return qualifiedStatus;
    }

    public void setQualifiedStatus(String qualifiedStatus) {
        this.qualifiedStatus = qualifiedStatus;
    }

    public String getInterviewStatus() {
        return interviewStatus;
    }

    public void setInterviewStatus(String interviewStatus) {
        this.interviewStatus = interviewStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("examId", getExamId())
                .append("name", getName())
                .append("admissionNo", getAdmissionNo())
                .append("idcard", getIdcard())
                .append("sex", getSex())
                .append("bkzwdm", getBkzwdm())
                .append("bkdwdm", getBkdwdm())
                .append("archivedStatus", getArchivedStatus())
                .append("archivedDate", getArchivedDate())
                .append("qualifiedStatus", getQualifiedStatus())
                .append("interviewStatus", getInterviewStatus())
                .append("createTime", getCreateTime())
                .append("createBy", getCreateBy())
                .append("updateTime", getUpdateTime())
                .append("updateBy", getUpdateBy())
                .toString();
    }
}
